//
//  CLRefreshAnimationView.h
//  DGGMobileFrameworksDemo
//
//  Created by 伍明鹏 on 2019/12/23.
//  Copyright © 2019 伍明鹏. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface DLRefreshAnimationView : UIView
//layer
@property (nonatomic, strong) CALayer *refreshLayer;
//主色
@property (nonatomic, strong) UIColor *tintColor;
//加载lab
@property (nonatomic, strong) UILabel *lab;
//加载文字
@property (nonatomic, copy) NSString *refreshText;
//文字在动画的下面
@property (nonatomic, assign) BOOL refreshTextShowBottom;


- (void)buildUI;

//下拉动画
- (void)refreshStateIdleAnimation;
//刷新动画
- (void)refreshStateRefreshingAnimation;
//刷新完成变小
- (void)refreshStateIdledSmallAnimation;
//停止动画
- (void)stopAnimation;

@end

NS_ASSUME_NONNULL_END
